package com.github.kezhenxu94.crawler.source.rss;

/**
 * Created by kezhenxu on 12/4/16.
 *
 * @author kezhenxu (kezhenxu94@163.com)
 */
public class Rss2Image implements Rss2ElementNames {
    protected String url;
    protected String title;
    protected String link;
    protected double width;
    protected double height;
    protected String description;

    public Rss2Image() {
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public double getWidth() {
        return width;
    }

    public void setWidth(double width) {
        this.width = width;
    }

    public double getHeight() {
        return height;
    }

    public void setHeight(double height) {
        this.height = height;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "Rss2Image{" +
                "url='" + url + '\'' +
                ", title='" + title + '\'' +
                ", link='" + link + '\'' +
                ", width=" + width +
                ", height=" + height +
                ", description='" + description + '\'' +
                '}';
    }
}
